﻿using Domain.Base;
using DtoFw.Enum;
using SqlSugar;

namespace Domain.Entity
{
    ///<summary>
    ///机构
    ///</summary>
    [SugarTable("system_organ")]
    [DB(EnumDatabase.Mysql, Cache = false)]
    public class MainOrganEntity: BaseEntity
    {

        [SugarColumn(ColumnName = "Code")]
        public System.String Code { get; set; }

        [SugarColumn(ColumnName = "Name")]
        public System.String Name { get; set; }

        [SugarColumn(ColumnName = "CName")]
        public System.String CName { get; set; }

        [SugarColumn(ColumnName = "ComNo")]
        public System.String ComNo { get; set; }

        [SugarColumn(ColumnName = "Level")]
        public int Level { get; set; }

        [SugarColumn(ColumnName = "SuperiorId")]
        public long SuperiorId { get; set; }

        [SugarColumn(ColumnName = "SuperiorDeptId")]
        public long SuperiorDeptId { get; set; }

        [SugarColumn(ColumnName = "OrgClass")]
        public System.String OrgClass { get; set; }

        [SugarColumn(ColumnName = "Tel")]
        public System.String Tel { get; set; }

        [SugarColumn(ColumnName = "WatchTel")]
        public System.String WatchTel { get; set; }

        [SugarColumn(ColumnName = "Zip")]
        public System.String Zip { get; set; }

        [SugarColumn(ColumnName = "Fax")]
        public System.String Fax { get; set; }

        [SugarColumn(ColumnName = "Addrs")]
        public System.String Addrs { get; set; }

        [SugarColumn(ColumnName = "Used")]
        public int Used { get; set; }

        [SugarColumn(ColumnName = "OrderBy")]
        public System.Int32? OrderBy { get; set; }

        [SugarColumn(ColumnName = "Remark")]
        public System.String Remark { get; set; }

        [SugarColumn(ColumnName = "Extend1")]
        public System.String Extend1 { get; set; }

        [SugarColumn(ColumnName = "Extend2")]
        public System.String Extend2 { get; set; }

        [SugarColumn(ColumnName = "Extend3")]
        public System.String Extend3 { get; set; }

        [SugarColumn(ColumnName = "Extend4")]
        public System.String Extend4 { get; set; }

        [SugarColumn(ColumnName = "Extend5")]
        public System.String Extend5 { get; set; }

    }
}
